const Router = require('koa-router')
//
const { info } = require('../../../controller/v1/admin/dashboard')

const { validateToken } = require('../../../middleware/auth/token')

const PREFIX = '/v1/admin/dashboard'

const router = new Router({ prefix: PREFIX })

router.get('/info', validateToken, info)

module.exports = router
